package org.jeecg.modules.exProject.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.exProject.entity.ExSection;
import org.jeecg.modules.exProject.mapper.ExSectionMapper;
import org.jeecg.modules.exProject.service.IExSectionService;
import org.springframework.stereotype.Service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 标段（包）
 * @Author: jeecg-boot
 * @Date: 2024-08-31
 * @Version: V1.0
 */
@Service
public class ExSectionServiceImpl extends ServiceImpl<ExSectionMapper, ExSection> implements IExSectionService {

    @Autowired
    private ExSectionMapper exSectionMapper;

    @Override
    public List<ExSection> selectByMainId(String mainId) {
        return exSectionMapper.selectByMainId(mainId);
    }

    @Override
    public List<ExSection> selectByIds(String[] ids) {
        return exSectionMapper.selectByIds(ids);
    }

    @Override
    public IPage<ExSection> pageQuery(Page<ExSection> page, ExSection exSection) {
        return exSectionMapper.pageQuery(page, exSection);
    }
}
